import request from '@/utils/request'
const api = {
	loginIn: 'api/login/verifyCodeLogin',
	wechat: 'api/login/wxPhoneLogin',
	sendSms: 'api/sms/send',
}
// 密码登录
export function loginIn(data) {
	return request.post(api.loginIn, data)
}
// 微信登录
export function loginWechat(data) {
	return request.post(api.wechat, data)
}
// 验证码
export function sendSms(data) {
	return request.post(api.sendSms, data)
}